<% @page_title = "Login" -%>
<%= error_messages_for 'user' %>
<% form_tag do -%>
<table style="margin:0 auto;">
	<tr>
		<td>Username:</td>
		<td><%= text_field("user", "username", :size => 20) %></td>
	</tr>
	<tr>
		<td>Password:</td>
		<td><%= password_field("user", "password", :size => 20) %></td>
	</tr>
	<tr>
		<td colspan="2" style="text-align:center;padding:10px;"><input type="submit" value="Login"/></td>
	</tr>
</table>
<% end -%>